package com.zt.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class LoginRequest {
    // 验证码登录字段
    private String phone;
    private String code;

    // 密码登录字段
    private String account;
    private String password;
    private String loginType; // "password" 或 "code"
}
